/*环境指数公众版页面样式
 * 2016-05-19
 * by shihanbing 1085332235@qq.com
 */
header{
    width: 100%;
    height: auto;
    position: relative;
    text-align: center;
    background:url(../img/public_top_bg_23C700.png) no-repeat;
    background-image: none;
    display: block;
    background-size: 100% 100%;
    color: #fff;
    .pb-title{
        line-height: 0.8rem;
        font-size:0.7rem;
        text-align: center;
        color: #fff;
        padding-top: 0.8rem;
        padding-bottom: 0.2rem;
    }
    .pb-layout{
        margin:0 30%;
        position: relative;
        .pb-lay-bg{
            position: absolute;
            width: 100%;
            height: 100%;
            background: #fff;
            opacity:0.4;
            z-index: 1;
            border-radius: 0.2rem;
        }
        .pb-tit-num{
            font-size:2rem;
            opacity: 1;
            color: #fff;
            font-weight: bold;
            z-index: 2;
            float:left;
            margin-left:0.4rem;
            margin-top:0.2rem;
        }
        .pb-tit-lv{
            font-size:1rem;
            opacity: 1;
            color: #fff;
            font-weight: bold;
            z-index: 2;
            float:right;
            margin-right:0.2rem;
            margin-top:0.6rem;
        }
        .pb-tit-wuran{
            font-size:0;
            padding-bottom: 0.2rem;
            .pb-wr-txt{
                font-size:0.8rem;
                display: inline-block;
            }
            .pb-wr-zb{
                font-size:0.8rem;
                display: inline-block;
                margin-left: 0.1rem;
                sub{
                    vertical-align:sub;
                    font-size:0.2rem;
                }
            }
        }
    }
    .pb-weather{
        font-size:0.6rem;
        margin-top:0.4rem;
    }
    .pb-tiptxt{
        font-size: 0.5rem;
        margin:0.2rem auto;
        border-radius: 0.25rem;
        background: rgba(0,0,0,0.2);
        display:inline-block;
        span{
            padding: 0.2rem;
            display: none;
        }
    }
}

.pb-content{
    margin: 0.4rem 0;
    .pb-zb-items{
        background: #f4f4f4;
        border-top: 1px solid #e7e7e7;
        border-bottom: 1px solid #e7e7e7;
        margin: 0 0 0.4rem 0;
        .pb-fx-item{
            margin: 0.2rem;
            background: #fff;
            border-radius: 0.2rem;
            text-align: center;
            padding: 0 0.2rem;
            padding-bottom: 0.2rem;
            cursor: pointer;
            i{
                font-style: normal;
                    font-size: 0.9rem;
                sub{
                    vertical-align: sub;
                    font-size: 0.25rem;
                }
            }
            span{
                display:inline-block;
                background: transparent;
                color: #fff;
                border-radius: 0.2rem;
                padding: 0.1rem 0.25rem;
                font-size: 0.8rem;
                width: 100%;
            }
        }
    }
    
    .pb-map-chart{
        width: 100%;
        height: 10rem;
    }
    
    .pb-line-chart{
        width: 100%;
        height: 12rem;
        margin-top: 1rem;
    }
    
    .pb-score-list{
        background: #7a7777;
        min-height: 1.2rem;
        line-height: 1.2rem;
        color: #fff;
        .pb-sc-con{
            font-size: 0.6rem;
            margin-left: 0.2rem;
            .pb-tgrey{
                color: #d2d2d2;
            }
            b{
                color: #7ae752;
            }
        }
    }
    
    .pb-chart-legend{
        padding: 0.5rem 2.5rem 0;
        span{
            flex: 1;
            text-align: center;
            font-size: 0.7rem;
            border:1px solid #08A321;
            color: #08A321;
            padding: 0.25rem;
            cursor: pointer;
            &:first-child{
                border-radius: 5px 0 0 5px;
                border-right-width: 0;
            }
            &:last-child{
                border-radius: 0 5px 5px 0;
                border-left-width: 0;
            }
            &.active{
                color: #ffffff;
                background-color: #08A321;
            }
        }
    }
    
    .pb-tip-txt{
        font-size:0.6rem;
        padding:0.25rem 0.4rem 0;
        color:#666;
        text-align:right;
    }
}


.pb-small{
    font-size: 0.5rem;
}

.pb-zhibiao-legend{
    padding: 0.3rem 0.3rem 0.2rem;
    .zb-item{
        text-align: center;
        background: #efefef;
        font-size: 0.6rem;
        padding: 0.2rem 0.1rem;
        border-radius: 0.2rem;
        margin: 0 0.1rem;
        border: 1px solid #ddd;
        cursor: pointer;
        position: relative;
        color: #6b6b6b;
        b{
            position: absolute;
            width: 0.7rem;
            height: 0.7rem;
            left: 50%;
            margin-left: -0.35rem;
            bottom: -0.9rem;
            font-size: 0.5rem;
            line-height: 0.6rem;
            z-index: 99;
            border-radius: 50%;
            border:1px solid #cccccc;
            background-color: #ffffff;
            color: #6b6b6b;
            text-align: center;
        }
        sub{
            vertical-align: sub;
            font-size: 0.6rem;
        }
        &.active{
            background: #fff;
            b{
                color: #54b430;
            }
        }
        &.active.color-aqi{
            border-color: #FE9A01;
            color: #FE9A01;
        }
        &.active.color-pm25{
            border-color: #00E3D8;
            color: #00E3D8;
        }
        &.active.color-so2{
            border-color: #e4b503;
            color: #e4b503;
        }
        &.active.color-no2{
            border-color: #688ff4;
            color: #688ff4;
        }
        &.active.color-pm10{
            border-color: #23ae39;
            color: #23ae39;
        }
        &.active.color-co{
            border-color: #e16f6e;
            color: #e16f6e;
        }
        &.active.color-o3{
            border-color: #01b3d9;
            color: #01b3d9;
        }
    }
}

.anchorBL{
    display: none !important;
}
